<?php

/**
 * this view includes all shared js
 */

// include external js first
$externalFiles = array(
	'jquery-1.7.2.min.js'
);
foreach ($externalFiles as $file) {
	?>
	<script type="text/javascript" src="/js/external/<?php echo $file; ?>"></script>
	<?php
}

// then include internal js
$sharedFiles = array(
	'main.js'
);
foreach ($sharedFiles as $file) {
	?>
	<script type="text/javascript" src="/js/internal/shared/<?php echo $file; ?>"></script>
	<?php
}